How to solve these coding challenges:


Challenge #1

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #2

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #3

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #4

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #5

For example, say I type the string: My name is Andrei

Then the script should print out: Andrei is name My

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #6

Sample input string : green-red-yellow-black-white

Expected Result : black-green-red-white-yellow

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #7

Sample input string: I love cat and dogs

Expected Result: I evol tac dna sgod

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #8

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #9

Sample list: list('mamma mia mm')

Expected Result:

m ---> 6

a ---> 3

---> 2

i ---> 1

Are you stuck? Do you want to see the solution to this exercise? Click here.


Challenge #10

Sample List: words = ['Python', 'Java', 'C++', 'Golang', 'Solidity', 'Bash']

Expected Result: [('Python', 6), ('Java', 4), ('C++', 3), ('Golang', 6), ('Solidity', 8), ('Bash', 4)]

Are you stuck? Do you want to see the solution to this exercise? Click here.